package com.erqi.mapper.master;

import com.erqi.pojo.Qrandplc;
import com.erqi.pojo.QrandplcExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
@Mapper
public interface QrandplcMapper {
  long countByExample(QrandplcExample paramQrandplcExample);
  
  int deleteByExample(QrandplcExample paramQrandplcExample);
  
  int deleteByPrimaryKey(Integer paramInteger);
  
  int insert(Qrandplc paramQrandplc);
  
  int insertSelective(Qrandplc paramQrandplc);
  
  Integer selectByQrandplc(Qrandplc paramQrandplc);
  Integer selectByTypeAndCode(String type,String code);

  
  List<Qrandplc> selectByExample(QrandplcExample paramQrandplcExample);
  
  Qrandplc selectByPrimaryKey(Integer paramInteger);
  
  int updateByExampleSelective(@Param("record") Qrandplc paramQrandplc, @Param("example") QrandplcExample paramQrandplcExample);
  
  int updateByExample(@Param("record") Qrandplc paramQrandplc, @Param("example") QrandplcExample paramQrandplcExample);
  
  int updateByPrimaryKeySelective(Qrandplc paramQrandplc);
  
  int updateByPrimaryKey(Qrandplc paramQrandplc);

  /*自定义 start*/
  List<Qrandplc> select(String type,String code,String state);
  int updateBatch(List<Qrandplc> list);
  /*end*/
}
